package mysql

import "gorm.io/gorm"

type Goods struct {
	gorm.Model
	GoodsTitle  string `gorm:"type:varchar(50);not null;comment:商品标题"`
	GoodsPrice  int64  `gorm:"not null;comment:商品价格"`
	GoodsStock  int8   `gorm:"not null;comment:商品库存"`
	GoodsCover  string `gorm:"type:varchar(255);comment:商品封面"`
	GoodsStatus int8   `gorm:"not null;comment:商品状态"`
}
